package cn.imvc.app.models;

import org.springframework.data.domain.Page;

import cn.imvc.app.entities.IndexData;
import cn.imvc.data.domain.ViewRequest;

public interface IndexDataModel {
	Page<IndexData> find(ViewRequest viewRequest);
	
	IndexData get(int id);

	IndexData save(IndexData indexData);
	
	IndexData update(int id,IndexData indexData);

	void delete(int id);

	void deleteBatch(int[] ids);
	
	IndexData merge(IndexData indexData);
}
